import layoutService from "@/api/LayoutService";
import ExtBase from "@/views/basic/ext/ExtBase";

class LayoutEntryExt extends ExtBase {
  hasAPIMethod(apiName) {
    if (apiName === 'getNv') {
      return true;
    } else return false;
  }

  getAPIMethod(apiName) {
    if (apiName === 'getNv') {
      return {
        func: layoutService.getLayoutNv,
        obj: layoutService
      };
    } else {
      return null;
    }
  }
}
const layoutEntryExt = new LayoutEntryExt();
export default layoutEntryExt;
